package com.smart.call.domain;

import com.smart.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 座席状态对象 agent_status
 * 
 * @author smart
 */
public class AgentStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 座席ID */
    private Long agentId;

    /** 座席工号 */
    private String agentNo;

    /** 座席名称 */
    private String agentName;

    /** 分机号 */
    private String extension;

    /** 在线状态（0离线 1在线） */
    private String onlineStatus;

    /** 工作状态（0空闲 1忙碌 2通话中） */
    private String workStatus;

    /** 最后登录IP */
    private String lastLoginIp;

    /** 最后登录时间 */
    private java.util.Date lastLoginTime;

    /** 备注 */
    private String remark;

    /** 渠道类型（phone/web/wechat） */
    private String channelType;

    /** 会话ID */
    private String sessionId;

    public void setAgentId(Long agentId) 
    {
        this.agentId = agentId;
    }

    public Long getAgentId() 
    {
        return agentId;
    }

    public void setAgentNo(String agentNo) 
    {
        this.agentNo = agentNo;
    }

    public String getAgentNo() 
    {
        return agentNo;
    }

    public void setAgentName(String agentName) 
    {
        this.agentName = agentName;
    }

    public String getAgentName() 
    {
        return agentName;
    }

    public void setExtension(String extension) 
    {
        this.extension = extension;
    }

    public String getExtension() 
    {
        return extension;
    }

    public void setOnlineStatus(String onlineStatus) 
    {
        this.onlineStatus = onlineStatus;
    }

    public String getOnlineStatus() 
    {
        return onlineStatus;
    }

    public void setWorkStatus(String workStatus) 
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus() 
    {
        return workStatus;
    }

    public void setLastLoginIp(String lastLoginIp) 
    {
        this.lastLoginIp = lastLoginIp;
    }

    public String getLastLoginIp() 
    {
        return lastLoginIp;
    }

    public void setLastLoginTime(java.util.Date lastLoginTime) 
    {
        this.lastLoginTime = lastLoginTime;
    }

    public java.util.Date getLastLoginTime() 
    {
        return lastLoginTime;
    }

    public void setRemark(String remark) 
    {
        this.remark = remark;
    }

    public String getRemark() 
    {
        return remark;
    }

    public String getChannelType() {
        return channelType;
    }

    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("agentId", getAgentId())
            .append("agentNo", getAgentNo())
            .append("agentName", getAgentName())
            .append("extension", getExtension())
            .append("onlineStatus", getOnlineStatus())
            .append("workStatus", getWorkStatus())
            .append("lastLoginIp", getLastLoginIp())
            .append("lastLoginTime", getLastLoginTime())
            .append("remark", getRemark())
            .append("channelType", getChannelType())
            .append("sessionId", getSessionId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}